﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;

namespace EBA.WindowsServices
{
    /// <summary>
    /// Window服务
    /// </summary>
    public interface IWindowsService
    {
        /// <summary>
        /// 输出
        /// </summary>
        IWindowsServiceOutput Output { get; set; }

        /// <summary>
        /// 启动
        /// </summary>
        void Start();
        /// <summary>
        /// 停止
        /// </summary>
        void Stop();

        /// <summary>
        /// 标识
        /// </summary>
        string Id { get; }
        /// <summary>
        /// 名称
        /// </summary>
        string Name { get; }

        /// <summary>
        /// 描述
        /// </summary>
        string Description { get; }

        /// <summary>
        /// 版本信息
        /// </summary>
        Version Version { get; }

        /// <summary>
        /// 配置信息
        /// </summary>
        Configuration Configuration { set; }
    }

}
